package cn.gson.boot.model.service;

import cn.gson.boot.model.mapper.StatusMapper;
import cn.gson.boot.model.pojos.Status;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class StatusService {
    @Autowired
    StatusMapper statusMapper;

    //阶段列表
    public List<Status> selectAllStatus(){
        return statusMapper.selectStatus();
    }
}
